package com.flyox.game.fivetiger.bean;

public class CONSTS {
	public static final String SYS_SERVER_NAME = "server_zero_1";
	public static final String SYS_CLIENT_NAME = "client_three_2";

	public static final int CMD_WAIT = 0;// 等待连接
	public static final int CMD_HELLO = 1;//打招呼
	public static final int CMD_SHOWOPT = 2;//传输游戏设定
	public static final int CMD_BEGIN = 3;// 开始
	public static final int CMD_ADD = 4;// 下棋
	public static final int CMD_COVER = 5;// 标记拔棋
	public static final int CMD_MOVE = 6;// 走棋
	public static final int CMD_CUT = 7;// 拔掉棋子
	public static final int CMD_MSG = 8;// 消息
	public static final int CMD_RESTART = 9;// 重新开始

	public static final int CMD_FAIL = 10;// 失败
	public static final int CMD_DOGFALL = 11;// 平局
	public static final int CMD_WIN = 12;// 胜利
	public static final int CMD_REQUEST_UNDO = 13;// 请求悔棋
	public static final int CMD_REFUSED_UNDO = 14;// 拒绝悔棋
	public static final int CMD_UNDO = 15;// 悔棋
	public static final int CMD_REQUEST_DOGFALL = 16;// 求和
	public static final int CMD_GIVE_UP = 17;// 投降
	public static final int CMD_TEST = 18;// 测试

	public static final int CHESS_EMPTY = 0;// 空
	public static final int CHESS_ZERO = 1;// server
	public static final int CHESS_THREE = 2;// client
	public static final int CHESS_ZERO_THREE = 3;// server kill client
	public static final int CHESS_THREE_ZERO = 4;// client kill server

	public static final String FLAG_CHANGE_STATE = "state_change";// 状态改变
	public static final String FLAG_CHANGE_LAYOUT = "layout_change";// 布局改变
	public static final String FLAG_CHANGE_CURRENT_PLAYER = "current_player_change";// 当前用户改变
	public static final String FLAG_CHANGE_PLAYER = "player_change";// 用户名改变
	public static final String FLAG_CHANGE_STATE_MSG = "state_change_msg";// 状态信息改变
}
